﻿//using UnityEngine;
//using UnityEngine.UI;
//using DG.Tweening;

//namespace Jinndev {
//    public static class UIBaseDOTweenExtends {

//        public static void DOKill(this UIBase uiBase, string path) {
//            DOTweenUtil.DOKill(uiBase.transform, path);
//        }

//        public static void DOKill(this UIBase uiBase, Object parent, string path) {
//            DOTweenUtil.DOKill(parent, path);
//        }

//        public static void DOAnchorPos(this UIBase uiBase, string path, Vector2 position, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPos(uiBase.transform, path, position, duration, ease);
//        }

//        public static void DOAnchorPos(this UIBase uiBase, Object parent, string path, Vector2 position, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPos(parent, path, position, duration, ease);
//        }

//        public static void DOAnchorPosX(this UIBase uiBase, string path, float x, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPosX(uiBase.transform, path, x, duration, ease);
//        }

//        public static void DOAnchorPosX(this UIBase uiBase, Object parent, string path, float x, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPosX(parent, path, x, duration, ease);
//        }

//        public static void DOAnchorPosY(this UIBase uiBase, string path, float y, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPosY(uiBase.transform, path, y, duration, ease);
//        }

//        public static void DOAnchorPosY(this UIBase uiBase, Object parent, string path, float y, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPosY(parent, path, y, duration, ease);
//        }

//        public static void DOAnchorPos3D(this UIBase uiBase, string path, Vector3 position, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPos3D(uiBase.transform, path, position, duration, ease);
//        }

//        public static void DOAnchorPos3D(this UIBase uiBase, Object parent, string path, Vector3 position, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPos3D(parent, path, position, duration, ease);
//        }

//        public static void DOAnchorPosX3D(this UIBase uiBase, string path, float x, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPosX3D(uiBase.transform, path, x, duration, ease);
//        }

//        public static void DOAnchorPosX3D(this UIBase uiBase, Object parent, string path, float x, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPosX3D(parent, path, x, duration, ease);
//        }

//        public static void DOAnchorPosY3D(this UIBase uiBase, string path, float y, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPosY3D(uiBase.transform, path, y, duration, ease);
//        }

//        public static void DOAnchorPosY3D(this UIBase uiBase, Object parent, string path, float y, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPosY3D(parent, path, y, duration, ease);
//        }

//        public static void DOAnchorPosZ3D(this UIBase uiBase, string path, float z, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPosZ3D(uiBase.transform, path, z, duration, ease);
//        }

//        public static void DOAnchorPosZ3D(this UIBase uiBase, Object parent, string path, float z, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOAnchorPosZ3D(parent, path, z, duration, ease);
//        }

//        public static void DOSizeDelta(this UIBase uiBase, string path, Vector2 size, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOSizeDelta(uiBase.transform, path, size, duration, ease);
//        }

//        public static void DOSizeDelta(this UIBase uiBase, Object parent, string path, Vector2 size, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOSizeDelta(parent, path, size, duration, ease);
//        }

//        public static void DOSizeDeltaX(this UIBase uiBase, string path, float x, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOSizeDeltaX(uiBase.transform, path, x, duration, ease);
//        }

//        public static void DOSizeDeltaX(this UIBase uiBase, Object parent, string path, float x, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOSizeDeltaX(parent, path, x, duration, ease);
//        }

//        public static void DOSizeDeltaY(this UIBase uiBase, string path, float y, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOSizeDeltaY(uiBase.transform, path, y, duration, ease);
//        }

//        public static void DOSizeDeltaY(this UIBase uiBase, Object parent, string path, float y, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOSizeDeltaY(parent, path, y, duration, ease);
//        }

//        public static void DOLocalMove(this UIBase uiBase, string path, Vector3 position, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOLocalMove(uiBase.transform, path, position, duration, ease);
//        }

//        public static void DOLocalMove(this UIBase uiBase, Object parent, string path, Vector3 position, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOLocalMove(parent, path, position, duration, ease);
//        }

//        public static void DOLocalMoveX(this UIBase uiBase, string path, float x, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOLocalMoveX(uiBase.transform, path, x, duration, ease);
//        }

//        public static void DOLocalMoveX(this UIBase uiBase, Object parent, string path, float x, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOLocalMoveX(parent, path, x, duration, ease);
//        }

//        public static void DOLocalMoveY(this UIBase uiBase, string path, float y, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOLocalMoveY(uiBase.transform, path, y, duration, ease);
//        }

//        public static void DOLocalMoveY(this UIBase uiBase, Object parent, string path, float y, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOLocalMoveY(parent, path, y, duration, ease);
//        }

//        public static void DOLocalMoveZ(this UIBase uiBase, string path, float z, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOLocalMoveZ(uiBase.transform, path, z, duration, ease);
//        }

//        public static void DOLocalMoveZ(this UIBase uiBase, Object parent, string path, float z, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOLocalMoveZ(parent, path, z, duration, ease);
//        }

//        public static void DOMove(this UIBase uiBase, string path, Vector3 position, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOMove(uiBase.transform, path, position, duration, ease);
//        }

//        public static void DOMove(this UIBase uiBase, Object parent, string path, Vector3 position, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOMove(parent, path, position, duration, ease);
//        }

//        public static void DOMoveX(this UIBase uiBase, string path, float x, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOMoveX(uiBase.transform, path, x, duration, ease);
//        }

//        public static void DOMoveX(this UIBase uiBase, Object parent, string path, float x, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOMoveX(parent, path, x, duration, ease);
//        }

//        public static void DOMoveY(this UIBase uiBase, string path, float y, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOMoveY(uiBase.transform, path, y, duration, ease);
//        }

//        public static void DOMoveY(this UIBase uiBase, Object parent, string path, float y, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOMoveY(parent, path, y, duration, ease);
//        }

//        public static void DOMoveZ(this UIBase uiBase, string path, float z, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOMoveZ(uiBase.transform, path, z, duration, ease);
//        }

//        public static void DOMoveZ(this UIBase uiBase, Object parent, string path, float z, float duration, Ease ease = Ease.OutQuad) {
//            DOTweenUtil.DOMoveZ(parent, path, z, duration, ease);
//        }

//    }
//}
